<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="<literal>__ACTION__</literal>" method="post">
        <label>关键词：</label>
        <input value="{$_REQUEST['key']}" name="key" class="form-control" size="15"/>
        <button type="submit" class="btn-default" data-icon="search">查询</button>
        <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);"
           data-icon="undo">清空查询</a>

        <div class="pull-right">
            <a href="{:U('add')}" class="btn btn-green"
                <if condition="I('addWay')=='navtab'">
                    data-toggle="navtab" data-id="add{$TableName}"
                <else />
                    data-toggle="dialog" [add-data-width] [add-data-height]
                </if>
               data-id="dialog-normal" data-mask="true" data-icon="plus" data-title="[add-title]">添加</a>

            <div class="btn-group">
                <button type="button" class="btn-default dropdown-toggle" data-toggle="dropdown" data-icon="copy">
                    复选框-批量操作
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu right" role="menu">
                    <li>
                        <a href="{:U('del')}" data-toggle="doajaxchecked" data-confirm-msg="确定要删除选中项吗？"
                           data-idname="id" data-group="ids">删除选中</a>
                    </li>
                </ul>
            </div>
        </div>
    </form>
</div>